<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta content="black" name="apple-mobile-web-app-status-bar-style">
    <meta content="telephone=no" name="format-detection">
    <title>注册</title>
    <link rel="stylesheet" type="text/css" href="${base}/templates/${config.theme}/mobile/static/css/global.css"/>
    <link rel="stylesheet" type="text/css" href="${base}/templates/${config.theme}/mobile/static/css/personal.css"/>
    <link href="${base}/templates/${config.theme}/mobile/static/css/layout.min.css" rel="stylesheet" type="text/css" />
    <link href="${base}/templates/${config.theme}/mobile/static/css/common.min.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="${base}/templates/${config.theme}/mobile/static/js/jquery.js"></script>
    <script type="text/javascript" src="${base}/templates/${config.theme}/mobile/static/js/jquery.cookie.js"></script>
    <script type="text/javascript" src="${base}/templates/${config.theme}/mobile/static/js/ajax.js"></script>
    <style>
        #switch-title {float:right;}
        #switch-title li {float:left;color:#000;border-bottom:2px solid #fff;font-size:16px;margin-right:10px;padding-bottom:5px;}
        #switch-title li.on-hit {color:green;border-bottom:2px solid green;}
    </style>
</head>
<body>
<header id="header" class="header clearfix">
    <div class="head_left fl"><a href="${base}/member"><span class="h_back"></span></a></div>
    <span class="headtit">我的团队</span>
    <div class="head_right fr"><a href="${base}/"><span class="h_home"></span></a></div>
</header>
    <div style="line-height:44px; height:44px; width:100%"></div>
	[#if page.list?? && page.list?size>0]
	[#list page.list as member]
		<div class="order_item" >
			<header>
                ${member.mobile}
                <span>${member.createDate}</span> <span>团队业绩:${member.tjCount} 个 </span> </header>

			<!-- <section><a href="user.php&#63;act=order_comment">去评论</a><a href="user.php&#63;act=rbuy&id=369419">再次购买</a></section> -->
		</div>
	[/#list]

        [/#if]

</body>
</html>
<script type="text/javascript" src="${base}/templates/${config.theme}/mobile/static/js/jquery.js"></script>
<script type="text/javascript" src="${base}/templates/${config.theme}/mobile/static/js/jquery.cookie.js"></script>
<script type="text/javascript" src="${base}/templates/${config.theme}/mobile/static/js/ajax.js"></script>
<script type="text/javascript">
$(function(){
    loadCart();
})

function loadCart(){
    //ajax
    $.ax("${base}/cart/view",null,'GET',null,'json',
            function(data){
                $("#cartQuantity").text(data.quantity);
            },
            function(data){
        });

}

</script>
